representing brute force